<%@ include file="taglibs.jsp"%>
<%@ page import="cn.org.rapid_framework.web.scope.Flash"%>
<%-- Error Messages --%>
<c:if test="${flash.success != null}">
	<!-- 	<div class="flash_success"> -->
	<%-- 		${flash.success}<br/> --%>
	<!-- 	</div>     -->
	<script type="text/javascript">
		layer.msg('${flash.success}', {shift: 0, icon: 1});
	<%-- 	<% flash.success=null; %> --%>

	</script>
	<%-- <c:set scope="page" var="flash.success" value=""/> --%>
</c:if>

<%-- Info Messages --%>
<c:if test="${flash.error != null}">
	<script type="text/javascript">
 		layer.msg('${flash.error}', {shift: 6, icon: 5});
 		<%-- <% Flash.current().error(null); %> --%>
	</script>

	<!-- 	<div class="flash_error"> -->
	<%-- 		${flash.error}<br/> --%>
	<!-- 	</div>  -->
</c:if>


